﻿using BaseData.Domain.DoctorSchedulingEntities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseData.Domain.DoctorScheduling
{
    /// <summary>
    /// 医生排班表
    /// </summary>
    public class Scheduling
    {
        /// <summary>
        /// 排班编号
        /// </summary>
        [Key]
        public int SchedulingId {  get; set; }

        /// <summary>
        /// 医生外键
        /// </summary>
        public int DoctorId { get; set; }

        /// <summary>
        /// 科室编号(外键)
        /// </summary>
        public int DepetmentId {  get; set; }


        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartDate {  get; set; }

        /// <summary>
        /// 接诊时间
        /// </summary>
        public DateTime ConsultationTime {  get; set; }


        /// <summary>
        /// 号源数
        /// </summary>
        public int Num {  get; set; }


        /// <summary>
        /// 接诊人数
        /// </summary>
        public int PatientNum {  get; set; }


        /// <summary>
        /// 排班状态
        /// </summary>
        public int SchedulingState {  get; set; }



        /// <summary>
        /// AM或PM
        /// </summary>
        public EnumSession Session {  get; set; }



        /// <summary>
        /// 删除标识
        /// </summary>
        public int IsDelete { get; set; } = 0;
    }
}
